package com.ruoyi.score.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 投票结果对象 house_vote_score
 * 
 * @author ruoyi
 * @date 2023-10-07
 */
public class HouseVoteScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 投票结果id */
    private Long scoreId;

    /** 投票id */
    @Excel(name = "投票id")
    private Long voteId;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String areaName;

    /** 小区名称 */
    @Excel(name = "物业id")
    private String propertyId;

    /** 得分 */
    @Excel(name = "得分")
    private BigDecimal score;

    public void setScoreId(Long scoreId) 
    {
        this.scoreId = scoreId;
    }

    public Long getScoreId() 
    {
        return scoreId;
    }
    public void setVoteId(Long voteId) 
    {
        this.voteId = voteId;
    }

    public Long getVoteId() 
    {
        return voteId;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setScore(BigDecimal score) 
    {
        this.score = score;
    }

    public BigDecimal getScore() 
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scoreId", getScoreId())
            .append("voteId", getVoteId())
            .append("areaName", getAreaName())
            .append("score", getScore())
            .toString();
    }

    public String getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(String propertyId) {
        this.propertyId = propertyId;
    }
}
